package com.luohoufa.ms.user.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@Entity
public class UserInfo {

    @Id
    private String id;//` varchar(32) NOT NULL,
    private String username;//` varchar(32) DEFAULT '',
    private String password;//` varchar(32) DEFAULT '',
    private String openid;//` varchar(64) DEFAULT '' COMMENT '微信openid',
    private Integer role;//` tinyint(1) NOT NULL COMMENT '1买家2卖家',

}
